﻿@{
    Layout = "~/Views/Shared/HotelLayout.cshtml";
}

@model Nop.Web.Models.Customer.LoginModel
@{
    ViewBag.Title = "Login";
}

<div class="login-page">
    <div class="page-title">
        <h1>@T("Account.Login.Welcome")</h1>
    </div>
    <div class="clear">
    </div>
    <div class="wrapper">
        <div class="message-error">
                    @Html.ValidationSummary(true, T("Account.Login.Unsuccessful").Text)
        </div>
        @using (Html.BeginForm())
        {
            <table class="login-table-container">
                <tbody>
                    <tr class="row">
                        <td class="item-name">
                            @Html.LabelFor(m => m.Email):
                        </td>
                        <td class="item-value">
                            @Html.TextBoxFor(m => m.Email)
                            @Html.ValidationMessageFor(m => m.Email)
                        </td>
                    </tr>
                    
                    <tr class="row">
                        <td class="item-name">
                            @Html.LabelFor(m => m.Password):
                        </td>
                        <td class="item-value">
                            @Html.PasswordFor(m => m.Password)
                            @Html.ValidationMessageFor(m => m.Password)
                        </td>
                    </tr>
                    <tr class="row">
                        <td class="item-value" colspan="2">
                            @Html.CheckBoxFor(m => m.RememberMe)
                            @Html.LabelFor(m => m.RememberMe)
                        </td>
                    </tr>
                    <tr class="row">
                    </tr>

                    <tr class="row">
                        <td colspan="2">
                            <div class="buttons">
                                <button class="loginbutton" type="submit">@T("Account.Login.LoginButton")</button>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        }
        
    </div>
    <div class="clear">
    </div>
</div>
